package com.hxzy.controller.admin.upload.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@ApiModel(value = "私有图片访问")
public class ImagePrivateReq {

    @NotBlank(message = "图像标识不能为空")
    @ApiModelProperty(value = "图像标识")
    private String key;

    @NotNull(message = "图片类型不能为空")
    @ApiModelProperty(value = "图片类型(1=身份证正面,3=身份证背面,7=营业执照)")
    private Integer type;

    @ApiModelProperty(value = "url地址有效时间标识",hidden = true)
    private String nostr;
}
